<%-- 
    Document   : import
    Created on : Dec 21, 2012, 10:14:57 AM
    Author     : Sebastian Horwege
--%>

<%@include file='header.jsp' %>
<script type="text/javascript" charset="utf-8">
    function importprogress() {
        $.post("import",
        { progress: " " },
        function(data){
            $("#status").html(data);
        }
    );
        setTimeout(importprogress, 100); // you could choose not to continue on failure...
    }
</script>
<body>
    ${message}
    <div class="comments-form">
        <form action="#" method="post" enctype="multipart/form-data">
            <p> 
                <input type="file" name="file">
                <label for="comment-name">Local Uniprot Document</label>
            </p>
            <input class="button" name="submit" type="submit" value="Submit">
        </form>
        <div id="status"></div>
    </div>
</body>
<%@include file='footer.jsp' %>